<!DOCTYPE HTML>
<html>
<head>
    <title>安置帮教帮教管理--帮教查看页面</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <script src="/webjars/miniui/boot.js" type="text/javascript"></script>
    <link href="/static/css/resource.css" rel="stylesheet" type="text/css"/>
    <link href="/static/css/default.css" rel="stylesheet" type="text/css"/>
    <script src="/static/js/common/common.js" type="text/javascript"></script>
</head>
<style>
    .delBtn{
        border: 1px solid #ff2120;
        border-radius: 10px;
        font-size:8px;
        line-height: 20px;
        font-weight: bold;
        color: #ff4634;
    }
    .editBtn{
        border: 1px solid #018d00;
        border-radius: 10px;
        font-size:8px;
        line-height: 20px;
        font-weight: bold;
        color: #00a60a;
    }
</style>
<#--<body onload="onLoad()">-->
<div class="mini-fit">
    <input id="pp" name="pp" class="mini-hidden" value="${pp!''}" style="width: 100%;"  readonly/>
    <input id="priNum" name="priNum" class="mini-hidden" value="${priNum!''}" style="width: 100%;"  readonly/>
<div  style="padding-left:30px; ">
    <form id="form1" method="post" >
        <!-- 用户 编辑框START-->
        <div id="editform1" class="form" >
            <table class="form-table"  width="100%" >
                <tr>
                    <td width="13%" align="right" style="line-height: 40px;" >帮扶时间:</td>
                    <td  width="87%">
                        ${dateBangfu!''}
                    </td>
                </tr>
                <tr>
                    <td width="13%" align="right" >帮扶内容:</td>
                    <td class="input">
                        <#if jdanzhi?? && jdanzhi="1">就学&emsp;&emsp;</#if>
                        <#if  zinvjiuxue?? && zinvjiuxue="1" >子女就学&emsp;&emsp;</#if>
                        <#if  swjm?? && swjm="1" >工商登记税务减免(创业)&emsp;&emsp;</#if>
                        <#if  zhiyezhidao?? && zhiyezhidao="1" >免费职业指导和职业介绍(公共就业服务机构)&emsp;&emsp;</#if>
                        <#if  jiuyeyuanzhu?? && jiuyeyuanzhu="1" >就业援助&emsp;&emsp;</#if>
                        <#if  gongshangxindai?? && gongshangxindai="1" ></br></br>工商、人社办理执照和人员培训支持，金融信贷支持、税收优惠(自主创业，自主谋业)&emsp;&emsp;</#if>
                    </td>
                </tr>
                <tr>
                    <td width="13%" align="right" style="line-height: 30px;">是否跟踪帮教工作:</td>
                    <td class="input">
                        <input name="bang" id="bang" class="mini-checkbox" style="line-height: 20px;"  truevalue="1" falsevalue="0"
                               value="${bang!''}" text="跟踪帮教" onvaluechanged="setFollowWork" readonly/>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</div>
<div  id="followWork" style="padding-left: 20px;">
    <hr/>
    <h5 style="font-size: 15px;font-weight: bold; ">跟踪帮教工作</h5>
    <span>1、地方党政组织和家庭教育</span>
    <form id="form_dz" method="post" >
        <div id="editform_dz" class="form" >
            <input id="dzPid" name="pid" class="mini-hidden" value="${priNum!''}" style="width: 100%;"  readonly/>
            <input id="dzId" name="id" class="mini-hidden" value="${dzId!''}" style="width: 100%;"  readonly/>
            <table class="form-table"  width="100%" >

                <tr>
                    <td width="13%" align="right" style="line-height: 30px;margin-top: 10px;" >帮扶时间:</td>
                    <td  width="87%">
                        ${dateGljy!''}
                    </td>
                </tr>
                <tr>
                    <td width="13%" align="right" style="line-height: 50px;">帮扶内容:</td>
                    <td class="input">
                        ${dangzhengRemark!''}
                    </td>
                </tr>
            </table>
        </div>
    </form>
    <span>2、社会组织帮教</span>
    <form id="form_shzz" method="post" >
        <!-- 用户 编辑框START-->
        <div id="editform_shzz" class="form" >
            <input id="shzzPid" name="pid" class="mini-hidden" value="${priNum!''}" style="width: 100%;"  readonly/>
            <input id="shzzId1" name="id" class="mini-hidden" value="${shzzId!''}" style="width: 100%;"  readonly/>
            <table class="form-table"  width="100%" >
                <tr>
                    <td width="13%" align="right" style="line-height: 30px;margin-top: 10px;" >帮扶时间:</td>
                    <td  width="87%" colspan="2" style="line-height: 50px;">
                        ${time!''}
                    </td>
                </tr>
                <tr>
                    <td width="13%" align="right"  style="line-height: 30px;margin-top: 10px;" >组织类型:</td>
                    <td  width="17%">
                        ${zzlx!''}
                    </td>
                    <td width="70%">
                        组织名称: ${zzmc!''}
                    </td>
                </tr>
                <tr>
                    <td width="13%" align="right" style="line-height: 50px;">帮扶内容:</td>
                    <td class="input" colspan="2">
                        ${qkjj!''}
                    </td>
                </tr>
            </table>
        </div>
    </form>

    <span>3、志愿者帮教</span>
    <form id="form_zyz" method="post" >
        <!-- 用户 编辑框START-->
        <div id="editform_zyz" class="form" >
            <input id="zyzPid" name="pid" class="mini-hidden" value="${priNum!''}" style="width: 100%;"  readonly/>
            <input id="zId" name="id" class="mini-hidden" value="${zId!''}" style="width: 100%;"  readonly/>
            <table class="form-table"  width="100%" >
                <tr>
                    <td width="13%" align="right" style="line-height: 30px;margin-top: 10px;" >帮扶时间:</td>
                    <td  width="87%">
                        ${dateZyzjz!''}
                    </td>
                </tr>
                <tr>
                    <td width="13%" align="right" style="line-height: 30px;margin-top: 10px;" >志愿者名称:</td>
                    <td  width="87%">
                        ${zyzname!''}
                    </td>
                </tr>
                <tr>
                    <td width="13%" align="right"   style="line-height: 50px;">帮扶内容:</td>
                    <td>
                         ${remark!''}
                    </td>
                </tr>
            </table>
        </div>
    </form>

    <span>4、排查</span>
    <form id="form_pc" method="post" >
        <!-- 用户 编辑框START-->
        <div id="editform_pc" class="form" >
            <input id="pcPid" name="pid" class="mini-hidden" value="${priNum!''}" style="width: 100%;"  readonly/>
            <input id="pcId" name="id" class="mini-hidden" value="${pcId!''}" style="width: 100%;"  readonly/>
            <table class="form-table"  width="100%" >

                <tr>
                    <td width="13%" align="right" style="line-height: 30px;margin-top: 10px;" >帮扶时间:</td>
                    <td  width="20%">
                        ${paitime!''}
                    </td>
                    <td  width="67%">

                    </td>
                </tr>
                <tr>
                    <td width="13%" align="right" style="line-height: 30px;margin-top: 10px;" >排查状况:</td>
                    <td class="input" colspan="2">
                        <#if paizhuang ?? && paizhuang = "1">有矛盾纠纷
                        <#elseif  paizhuang ?? && paizhuang = "2">有重新犯罪倾向
                        <#elseif  paizhuang ?? && paizhuang = "3">失联
                        <#elseif  paizhuang ?? && paizhuang = "4">找回
                        <#elseif  paizhuang ?? && paizhuang = "5">其他</#if>
                    </td>
                </tr>
                <tr>
                    <td width="13%" align="right"   style="line-height: 50px;">备注:</td>
                    <td class="input" colspan="2">
                        ${paibei!''}
                    </td>
                </tr>
            </table>
        </div>
    </form>

</div>
</div>
<div>
    <div>
        <br/><br/>
    </div>
    <div style="padding:2px;margin: 0 auto;text-align: center">
        <a class="mini-button" iconCls="fa-undo" plain="true" onclick="close()">返回</a>
    </div>
    <div>
        <br/>
    </div>
</div>

<script type="text/javascript">
    mini.parse();
    var bang = ${bang!''};
    if(bang==0 || bang==''){
        document.getElementById("followWork").style.display="none";
    }

    function showGrid(e){
        if(e=="jiuye"){
            document.getElementById("jiuye").style.display="block";
            document.getElementById("jiuyeId").style.color="#2e83ff";
            document.getElementById("peixun").style.display="none";
            document.getElementById("peixunId").style.color="black";
            document.getElementById("chuangye").style.display="none";
            document.getElementById("chuangyeId").style.color="black";
        }else if(e=="peixun"){
            document.getElementById("peixun").style.display="block";
            document.getElementById("peixunId").style.color="#2e83ff";
            document.getElementById("jiuye").style.display="none";
            document.getElementById("jiuyeId").style.color="black";
            document.getElementById("chuangye").style.display="none";
            document.getElementById("chuangyeId").style.color="black";
        }else if(e=="chuangye"){
            document.getElementById("chuangye").style.display="block";
            document.getElementById("chuangyeId").style.color="#2e83ff";
            document.getElementById("jiuye").style.display="none";
            document.getElementById("jiuyeId").style.color="black";
            document.getElementById("peixun").style.display="none";
            document.getElementById("peixunId").style.color="black";
        }
    }

    function close(action){
        if(window.CloseOwnerWindow){
            window.CloseOwnerWindow(action);
        }else{
            window.close();
        }
    }
</script>
</body>
</html>